package com.qujia.station.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qujia.common.annotation.Excel;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 app_user_super
 * 
 * @author qujia
 * @date 2021-11-30
 */
@ApiModel(description = "超级会员")
public class AppUserSuper
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long superId;

    /** 特权名称 */
    @Excel(name = "特权名称")
    private String superName;

    /**超级会员开通手机号*/
    private String phone;

    /** 特权周期 */
    @Excel(name = "特权周期")
    private Long cycle;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal price;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal originalPrice;

    /** 积分倍数 */
    @Excel(name = "积分倍数")
    private Double multiple;

    /** 立减活动，来源于reduction_activity中主键 */
    private Long activityId;

    /** 立减活动，来源于reduction_activity中主键 */
    private String couponIssueId;

    /** 0启用，1停用 */
    @Excel(name = "0启用，1停用")
    private Integer enable;

    public String getCouponIssueIds() {
        return couponIssueIds;
    }

    public void setCouponIssueIds(String couponIssueIds) {
        this.couponIssueIds = couponIssueIds;
    }

    @ApiModelProperty(value = "优惠券id，用,隔开")
    private String couponIssueIds;


    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;


    private Long enterpriseId;


    @Excel(name = "优惠券活动")
    private String couponIssueName;
    @Excel(name = "立减活动")
    private String activityName;

    /**
     * 公众号显示名称
     */
    private String showName;
    /**
     * 条款
     */
    private String superUserTerm;

    public void setSuperId(Long superId) 
    {
        this.superId = superId;
    }

    public Long getSuperId() 
    {
        return superId;
    }
    public void setSuperName(String superName) 
    {
        this.superName = superName;
    }

    public String getSuperName() 
    {
        return superName;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setCycle(Long cycle)
    {
        this.cycle = cycle;
    }

    public Long getCycle()
    {
        return cycle;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setOriginalPrice(BigDecimal originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getOriginalPrice() 
    {
        return originalPrice;
    }
    public void setMultiple(Double multiple)
    {
        this.multiple = multiple;
    }

    public Double getMultiple()
    {
        return multiple;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setEnable(Integer enable) 
    {
        this.enable = enable;
    }

    public Integer getEnable() 
    {
        return enable;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setEnterpriseId(Long enterpriseId)
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId()
    {
        return enterpriseId;
    }

    public String getCouponIssueId() {
        return couponIssueId;
    }

    public void setCouponIssueId(String couponIssueId) {
        this.couponIssueId = couponIssueId;
    }

    public String getCouponIssueName() {
        return couponIssueName;
    }

    public void setCouponIssueName(String couponIssueName) {
        this.couponIssueName = couponIssueName;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }

    public String getSuperUserTerm() {
        return superUserTerm;
    }

    public void setSuperUserTerm(String superUserTerm) {
        this.superUserTerm = superUserTerm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("superId", getSuperId())
            .append("superName", getSuperName())
            .append("cycle", getCycle())
            .append("price", getPrice())
            .append("originalPrice", getOriginalPrice())
            .append("multiple", getMultiple())
            .append("activityId", getActivityId())
            .append("couponIssueId", getCouponIssueId())
            .append("enable", getEnable())
            .append("createdate", getCreatedate())
            .append("enterpriseId", getEnterpriseId())
            .toString();
    }
}
